Ranking algorithm for search  oueries

ABSTRACT

In various embodiments, a method of prioritizing search results in an electronic environment is disclosed. The method includes selecting a plurality of equivalent keywords responsive to a search query from an end-user, determining a rank of each of the plurality of equivalent keywords, selecting a plurality of most highly ranked keywords from the plurality of equivalent keywords, and preparing a response including the plurality of most highly ranked keywords.

TECHNICAL FIELD

The present application relates generally to the field of computertechnology and, in a specific exemplary embodiment, to a system andmethod of optimizing a response to a keyword search or query of anend-user based on a ranking of the keyword.

BACKGROUND

During the past several years, a substantial growth has occurred in thequantity and diversity of information and services available over theInternet. The number of users of the Internet has similarly grownrapidly. A predominant growth area on the Internet has been in the useof the World Wide Web, often referred to as WWW, W3, or simply “theWeb.” The hyper-text transfer protocol (HTTP) that serves as afoundation protocol for the Web has been widely adopted and implementedin numerous Web browsers and Web servers.

Web browsers provide a convenient user application for receiving textualand graphical information of individual Web pages in a scrollabledisplay page format. The Web pages frequently allow a typical end-userto access a variety of educational, commercial, and retail Web sitesthrough search boxes.

A search box auto-complete function has become an increasingly popularfeature on many Web sites in recent years. The feature is now availableon numerous sites, including Shopping.com, Yahoo!®, and Google Toolbar.However, traditional search box auto-complete has no rankingfunctionality, which means the auto-complete backend system will onlyrespond with a generalized keyword list against a prefix from which therequest is made. Thus, the end-user may not get expected results fromthe returned keyword list.

BRIEF DESCRIPTION OF DRAWINGS

Various ones of the appended drawings merely illustrate exemplaryembodiments of the present invention and cannot be considered aslimiting its scope.

FIG. 1 is a block diagram of an exemplary embodiment of a high-levelclient-server-based network architecture diagram depicting a system usedto process end-user queries;

FIG. 2 is a block diagram illustrating an exemplary embodiment ofvarious modules of the network architecture of FIG. 1;

FIG. 3 is a schematic representation of an exemplary trie tree structureused in query and search engines used in the modules of FIG. 2;

FIG. 4 is a flowchart of an exemplary method for selecting andcalculating a weight of keywords matching a prefix in a query; and

FIG. 5 is a simplified block diagram of a machine in an exemplary formof a computing system within which a set of instructions, for causingthe machine to perform any one or more of the methodologies discussedherein, may be executed.

DETAILED DESCRIPTION

The description that follows includes illustrative systems, methods,techniques, instruction sequences, and computing machine programproducts that embody the present invention. In the followingdescription, for purposes of explanation, numerous specific details areset forth to provide an understanding of various embodiments of theinventive subject matter. It will be evident, however, to those skilledin the art that embodiments of the inventive subject matter may bepracticed without these specific details. Further, well-knowninstruction instances, protocols, structures, and techniques have notbeen shown in detail.

As used herein, the term “or” may be construed in either an inclusive orexclusive sense. Similarly, the term “exemplary” is construed merely tomean an example of something or an exemplar and not necessarily apreferred or ideal means of accomplishing a goal. Additionally, althoughvarious exemplary embodiments discussed below focus on end-user queriesin an electronic retail environment, the embodiments are given merelyfor clarity in disclosure. Thus, any type of electronic commerce orelectronic business system and method, including various systemarchitectures, may employ various embodiments of the end-user queryauto-complete system and method described herein and is considered asbeing within a scope of the present invention.

In an exemplary embodiment, a system for prioritizing search results inan electronic environment is disclosed. The system includes acommunications module for receiving a search query from an end-user. Thesearch query is generated by the end-user in a search box contained in,for example, a web page and includes one or more characters. The searchquery is then transmitted to the communications module within a singletransmission control protocol (TCP) packet. A query engine, inelectronic communication with communications module, uses the charactersfrom the search query to match against a plurality of selected keywordscontained within a data structure (e.g., a database). Each selected andmatched keyword is then ranked by, for example, the number of itemsfound or sold for the particular keyword used as a search term, withinthe plurality of selected keywords. A subset of the selected keywords isthen formed based on the ranking A generated response that includes thesubset of selected keywords is returned to the end-user.

In another exemplary embodiment, a method to prioritize or rank searchresults in an electronic environment in response to a search queryreceived from an end-user is disclosed. The method includes selecting aplurality of equivalent keywords for the search query. Equivalentkeywords include, for example, similar keywords that match portions ofthe characters. Each of the plurality of equivalent keywords is thenevaluated based on a ranking of the keyword. A plurality of the mosthighly ranked keywords is selected from the plurality of equivalentkeywords and a response including the plurality of most highly rankedkeywords is prepared and returned to the end-user.

In another exemplary embodiment, a machine-readable storage medium(e.g., a DVD or CD-ROM) storing an instruction is disclosed such that,when executed by a processor, causes the processor to perform a methodto rank or prioritize search results in an electronic environment inresponse to a search query received from an end-user. The methodincludes selecting a plurality of equivalent keywords for the searchquery. Equivalent keywords include, for example, similar keywords thatmatch portions of the characters. Each of the plurality of equivalentkeywords is then evaluated based on a ranking of the keyword. Aplurality of the most highly ranked keywords is selected from theplurality of equivalent keywords and a response including the pluralityof most highly ranked keywords is prepared and returned to the end-user.

In another exemplary embodiment, a system for prioritizing searchresults in an electronic environment is disclosed. The system includes acommunications module for receiving a search query. The search queryincludes one or more characters contained within a single TCP packet. Asearching means for using the characters from the query is used to matchagainst a plurality of selected keywords contained within a datastructure. Each keyword within the plurality of selected keywords isranked and a subset of the plurality of selected keywords is formedbased on the rank. A response from the characters is formed and returnedto the end-user.

Each of these exemplary embodiments, and others, is discussed in detail,below.

With reference to FIG. 1, a high-level network diagram of an embodimentof an exemplary system 100 with a client-server architecture includes afirst client machine 101, a second client machine 107, a third clientmachine 111, a network 117 (e.g., the Internet), and an informationstorage and retrieval platform 120. The information storage andretrieval platform 120 may constitute a commerce platform or commerceserver and provides server-side functionality, via the network 117, tothe first 101, second 107, and third 111 client machines. A programmaticclient 103 in the form of authoring modules 105 is executing on thefirst client machine 101, a first web client 109 (e.g., a browser, suchas the Internet Explorer browser developed by Microsoft Corporation ofRedmond, Wash.) is executing on the second client machine 107, and asecond web client 113 is executing on the third client machine 111.Additionally, the first client machine 101 is coupled to one or moredatabases 115.

Turning to the information storage and retrieval platform 120, anapplication program interface (API) server 121 and a web server 123 arecoupled to, and provide programmatic and web interfaces respectively to,one or more application servers 125. The application servers 125 hostone or more modules 127 (e.g., modules, applications, engines, etc.).The application servers 125 are, in turn, coupled to one or moredatabase servers 129 that facilitate access to one or more informationstorage databases 131. The one or more modules 127 provide a number ofinformation storage and retrieval functions and services to users thataccess the information storage and retrieval platform 120. The one ormore modules 127 are discussed in more detail, below.

While the exemplary system 100 of FIG. 1 employs a client-serverarchitecture, a skilled artisan will recognize that the presentdisclosure is not limited to such an architecture. The exemplary system100 could equally well find application in a distributed, orpeer-to-peer, architecture system. The one or more modules 127 and theauthoring modules 105 may also be implemented as standalone softwareprograms, which do not necessarily have networking capabilities.

The first 109 and second 113 web clients access the one or more modules127 via the web interface supported by the web server 123. Similarly,the programmatic client 103 accesses the various services and functionsprovided by the one or more modules 127 via the programmatic interfaceprovided by the API server 121. The programmatic client 103 may be, forexample, a seller application (e.g., the “Turbo Lister 2” applicationdeveloped by eBay Inc., of San Jose, Calif.) enabling sellers to authorand manage data items or listings on the information storage andretrieval platform 120 in an off-line manner. Further, batch-modecommunications can be performed between the programmatic client 103 andthe information storage and retrieval platform 120. In addition, theprogrammatic client 103 may include, as previously indicated, theauthoring modules 105 used to author, generate, analyze, and publishdomain rules and aspect rules used in the information storage andretrieval platform 120 to structure data items and transform queries.Such domain and aspect rules are known independently in the art.

Referring now to FIG. 2, an exemplary block diagram of the one or moremodules 127 includes a communication module 201, a listing module 203, ascrubber module 205, a string analyzer module 207, a plurality ofprocessing modules 209, and a first 215 and second 239 publishingmodule. The first publishing module 215 is used in a productionenvironment while the second publishing module 239 is used in a previewenvironment. The one or more modules 127 further includes a marketplaceapplication block 241. Each of the first 215 and second 239 publishingmodules includes a query engine 217, a search index engine 227, and aclassification service engine 235 (the individual engines are only shownin the first publishing module 215 but are readily envisioned by askilled artisan in the second publishing module 239 as well). The first215 and second 239 publishing modules are each utilized to publish newor existing rules to either the production environment or the previewenvironment, as appropriate, in the information storage and retrievalplatform 120 of FIG. 1 thereby enabling the rules to be operative (e.g.,applied to data items and queries) in the respective environments.

In a specific exemplary embodiment, the information storage andretrieval platform 120 of FIG. 1 may be embodied as a network-basedmarketplace that supports the transaction of data items or listings(e.g., goods or services) between sellers and buyers. One suchmarketplace is eBay, the World's Online Marketplace, developed by eBayInc., of San Jose, Calif. In this specific exemplary embodiment, theinformation storage and retrieval platform 120 may receive informationfrom sellers describing the data items that may subsequently beretrieved by potential buyers or bidders. The one or more modules 127may therefore include the marketplace application block 241 to provide anumber of marketplace functions and services to end-users that accessthe information storage and retrieval platform 120.

The preview environment enables a category manager (not shown) toanalyze rules and determine whether such rules perform as expectedwithout affecting live operations in the production environment. Forexample, the preview environment enables a most popular query analysis,a domain coverage analysis, an aspect coverage analysis, and anaspect-value pair coverage analysis as described later in this document.After determining that rules perform as expected, the category managerpublishes the rules to the production environment in the informationstorage and retrieval platform 120.

The communication module 201 receives a query from one or more of theclient machines 101, 107, 111 (FIG. 1). The query may include one ormore constraints (e.g., keywords, categories, or information specific toa type of data item). The communication module 201 interacts with thequery engine 217 and the search index engine 227 to process the query.The communication module 201 receives aspect-value pairs extracted fromthe query. Further, the communication module 201 constructs atransformed query based on the aspect-value pairs extracted from thequery and communicates an interface (e.g., a user interface) to anend-user at one or more of the client machines 101, 107, 111.

A query retrieval module 213 receives information from one or more ofthe client machines 101, 107, 111 and stores the information as a dataitem in the one or more information storage databases 131 (FIG. 1). Forexample, an end-user acting as a seller may operate one of the one ormore of the client machines 101, 107, 111 entering descriptiveinformation for a data item for the purpose of offering the data itemfor sale or auction through the information storage and retrievalplatform 120.

The plurality of processing modules 209 receives classificationinformation and metadata information. The plurality of processingmodules 209 publishes the classification and metadata information to aproduction environment or a preview environment. The plurality ofprocessing modules 209 may also publish to the production environment bypublishing the classification and metadata information to backendservers (not shown) that host the query engine 217, the search indexengine 227, and the classification service engine 235. The plurality ofprocessing modules 209 publishes to a preview environment by publishingthe classification and metadata information to a local backend server(not shown) hosting the query engine 217, the search index engine 227,and the classification service engine 235.

The plurality of processing modules 209 further includes a data itemretrieval module 211 to receive requests for data items from a categorymanager operating the first client machine 101. For example, responsiveto receiving a request, the data item retrieval module 211 reads dataitems from the data item information stored on the one or moreinformation storage databases 131 (FIG. 1) and stores the data items assample information in the database 115.

The query retrieval module 213 receives requests for queries from acategory manager operating the first client machine 101. For example,responsive to receiving the request, the query retrieval module 213reads queries from the sample information and communicates the queriesto the first client machine 101.

The scrubber module 205 receives item information entered by one or moreof the client machines 101, 107, 111 creating a data item. The scrubbermodule 205 utilizes services of the classification service engine 235 tostructure the item information in the data item (e.g., applies domainand aspect rules).

The string analyzer module 207 receives requests from the first clientmachine 101 to identify candidate values to associate with an aspect.The request may include the aspect and one or more values that have beenassociated to the aspect. The string analyzer module 207 utilizes theaspect (e.g., “color”) to identify strings of text in a database thatincludes the aspect. The string analyzer module 207 relies on variousservices provided in the information storage and retrieval platform 120to identify and process the strings of text. For example, the stringanalyzer module 207 utilizes services that expand the aspect to aderivative form of the aspect including a singular form (e.g., “color”),a plural form (e.g., “colors”), a synonymous form, an alternate wordform (e.g., “chroma,” “coloring,” “tint”), a commonly misspelled form(e.g., “collor”) or an acronym form.

In a specific exemplary embodiment, the string analyzer module 207identifies boundaries of a string of text based on a position of theaspect and derivatives thereof in the string of text. For example, thestring analyzer module 207 identifies boundaries of the string of textbased on a predetermined number of words to the left and right of theaspect in the string of text. The predetermined number of words may be aconfigurable value. After the strings of text have been identified, thestring analyzer module 207 relies on a service in the informationstorage and retrieval platform 120 to remove any stop words from thestrings (e.g., “the,” “and,” or “if”). For example, stop words mayinclude prepositions and antecedents since they are not candidatevalues. Next, the string analyzer module 207 removes the aspect valuesreceived in the request from the string. Finally, the string analyzermodule 207 returns the remaining candidate values to the first clientmachine 101.

A database (not shown specifically) utilized by the string analyzermodule 207 includes queries that have been entered by a user to theinformation storage and retrieval platform 120 or data items that havebeen entered by a user to the information storage and retrieval platform120, dictionaries, or thesauruses. The string analyzer module 207analyzes the strings of text to identify candidate values to associatewith the aspect. More examples of query strings and searching techniquesare given, below.

The classification service engine 235 applies domain rules and aspectrules to data items. For example, the classification service engine 235applies domain rules to identify one or more domain-value pairs (e.g.,product type=electronic MP3 players) associated with the data item. Theclassification service engine 235 further applies the aspect rules toidentify aspect-value pairs (e.g., brand=Apple) associated with the dataitem. The classification service engine 235 applies the domain andaspect rules to data items or listings as they are added to theinformation storage and retrieval platform 120 or responsive to thepublication of new rules (e.g., domain rules or aspect rules).

The classification service engine 235 processes data items received fromthe second 107 and third 111 client machines. For example, the scrubbermodule 205 uses services of the classification service engine 235, asdescribed previously, to apply domain rules and aspect rules to the dataitem. The classification service engine 235 further stores the dataitem, with the associated domain-value pairs and aspect-value pairs, inthe one or more information storage databases 131 (FIG. 1) as itemsearch information. Further, the classification service engine 235pushes or publishes item search information over a bus (not shown butimplicitly understood by a skilled artisan) in real time to the searchindex engine 227. The classification service engine 235 executes in thepreview environment enabling analysis of newly authored rules beforepublication of the rules to the production environment. Theclassification service engine 235 further maintains histograminformation in the form of data item counters as the domain and aspectrules are applied to the data items. For example, the classificationservice engine 235 may increment a data item counter responsive to acondition clause in a domain or aspect rule evaluating TRUE. Thehistogram information communicates to one or more of the client machines101, 107, 111 that utilize the histogram information to determinepercentage coverage for most popular queries, domains, aspects, andaspect-value pairs.

The query engine 217 includes an aspect extractor module 219, aclassification information module 221, a metadata service module 223,and a metadata information module 225. In the production environment,the aspect extractor module 219 receives a query from the communicationmodule 201 and applies aspect rules to extract aspect-value pairs fromthe query. Further, the aspect extractor module 219 communicates thequery received from the communication module 201 to the plurality ofprocessing modules 209 that stores the query as sample queryinformation.

In the preview environment, the aspect extractor module 219 receives themost popular queries from one or more of the client machines 101, 107,111 and applies aspect rules to extract aspect-value pairs from thequery. Further, the aspect extractor module 219 maintains histograminformation in the preview environment while applying the aspect rulesto the queries. For example, the query engine 217 responds to acondition clause that evaluates TRUE (e.g., matching keyword) byincrementing a data item counter associated with the respective query.Further, in the production environment, the aspect extractor module 219communicates the aspect-value pairs to the communication module 201.

The metadata service module 223 communicates metadata information to thecommunication module 201 based on a query received from thecommunication module 201. The metadata information includes metadatathat the communication module 201 uses to format and generate aninterface (e.g., a user interface).

The search index engine 227 includes search indexes and data item searchinformation (e.g., including data items and associated domain-valuepairs and aspect-value pairs). In the production environment, the searchindex engine 227 receives the transformed query from the communicationmodule 201 and utilizes the search indexes to identify data items basedon the transformed query. Further, in the production environment, thesearch index engine 227 communicates the found data items to thecommunication module 201.

Application of Ranking Search Box

Auto-Complete into the Exemplary Network Architecture

As noted above, a traditional search box auto-complete process has noranking functionality. Thus, as an end-user enters search or query data,an auto-complete backend system will only respond with a generalizedkeyword list against a particular user-entered prefix for which arequest is made. Currently, there is no ranking capability whichprioritizes a returned keyword list based on conversion rate (i.e.,turnover rate of a particular type of item), a frequency of the searchterm, or availability of an item.

A browser coupled to an end-user (e.g., to the one or more clientmachines 101, 107, 111 of FIG. 1) communicates with a remote system(e.g., information storage and retrieval platform 120) via acommunications protocol such as the HTTP protocol (known independentlyto one skilled in the art). The total contents of a single keyword listtypically only accounts for approximately one hundred bytes. However, anHTTP header routinely takes about 200 bytes. For a stable (not start-upstatus) HTTP connection, which is based on the TCP protocol, the HTTPconnection is able to carry at least 1460 bytes, exclusive of anyoverhead in the transmission protocol. The trip time for a package withone byte of information is almost identical to that of a package with1460 bytes. Thus, there is effectively no additional time required for around trip of the 1460 byte package. Consequently, the traditionalresponse approach does not make even full use of the throughputcapability of each HTTP connection.

By implementing a ranking algorithm or method, described herein, a muchbetter match exists between what the end-user is searching for in thequery and a returned keyword list. Thus, considerable time is saved fora response to appear to the end-user because numerous trips to and fromthe remote server are not required. The round trip savings becomesincreasingly important with either a slow user connection to theInternet or with heavy traffic in the communications path. Additionally,the load on the remote server is reduced since the response to theuser's query is available more quickly and the remote server does notneed to be accessed multiple times. The ranking algorithm employs datacollected and stored in a variety of databases worldwide (e.g., the oneor more information storage databases 131 of FIG. 1). A search tree(e.g., a trie tree, known independently in the art) or other structurecan be utilized to anticipate and thus predict the end-users query.

Search Method

With reference now to FIG. 3, an exemplary trie tree structure 300includes a root node 301, a first level plurality of child nodes 320, asecond level plurality of child nodes 340, and a third level pluralityof child nodes 360. In this exemplary embodiment, each of the childnodes includes letters “a,” “A,” “b,” “B” through “z,” “Z”; numbers “0,”“1,” through “9”; and characters &, −, +, ‘, :, ., and “ (all charactersare shown in bold merely for clarity).

Keywords are selected as a set of equivalent keywords for the prefix.Equivalent keywords are selected by finding all possible prefixes for agroup of equivalent words, selecting the best keywords for every prefixfrom the group, and calculating weights of selected keywords.

Each node within the various levels of child nodes 320, 340, 360 has nchild nodes, where n is a total count of the letters, numbers, and othercharacters supported. Information kept in a node includes, for example,a current best keyword for the prefix in the group.

For example, a prefix is entered into the root node 301 of the exemplarytrie tree structure 300. Each non-root node at each level represents asupported letter, number, or other character (e.g., an “a” is containedin a first node 303 and a “.” is contained in a final node 307 at thefirst level plurality of child nodes 320). Thus, for each non-root node,there is a corresponding string that represents a prefix. If the prefixentered into the root node 301 contains a “c,” then a third node 305 isselected from the first level plurality of child nodes 320. Child nodesof the third node 305 are selected within the second level plurality ofchild nodes 340. If the second character of the prefix following “c” isa “b,” then a second node 309 of the second level plurality of childnodes 340 is chosen. The second node 309 is coupled to a first keywordnode 313. Similarly, if the second character of the prefix following “c”is a “z,” then a last letter node 311 of the second level plurality ofchild nodes 340 is chosen. The last letter node 311 is coupled to asecond keyword node 315. Either the first 313 or second 315 keyword nodecontains a plurality of keywords that began with either “cb” or “cz,”respectively. An order in which the keywords are listed depends on avariety of factors described below. (As used herein, the entire set ofletters, numbers, and characters may simply be referred to ascharacters.)

Thus, the exemplary trie tree structure 300 stores all nodes along withcorresponding keyword lists and a weighting factor for each of thekeywords. To build the recommendation list file for a node, a keyword isadded against a specific prefix. The most highly-weighted keyword listsgenerated from each sub-list are added to the file. The exemplary trietree structure 300 is configured to store all nodes, correspondingkeyword lists, and weighting factors for each keyword.

In brief, when building the recommendation list file for a node, thekeyword list is first added against that specific prefix. The mosthighly-weighted keyword lists from a given sub-node are then appended tothe file and returned to the end-user in a keyword list based on orderof weighting.

Equivalent Keyword Selection

With reference now to FIG. 4, a flowchart 400 of an exemplary methodbegins with an end-user entered (401) prefix as a query in a remotesearch box (not shown). From the user-entered prefix, equivalentkeywords for prefixes are selected (403) as proposed keywords. Theequivalent keywords include both keywords that match at least a portionof the prefix and also keywords that match as an infix. Each proposedkeyword from the group of equivalent keywords selected is evaluated(405) based on a ranking strategy. The ranking strategy is discussed indetail, below, but generally ensures the end-user gets a response thatincludes the most likely keyword group based on numerous similarsearched conducted by other end-users previously. A determination ismade whether the keyword being evaluated is one of the best keywordsavailable (407) for the prefix entered in the query.

If a result of the determination of the best keywords available (407) ispositive, an appropriate node in the trie tree (FIG. 3) is updated (411)with an additional keyword. A determination is then made whetheradditional keywords are available (409). If additional keywords areavailable (409), the flowchart 400 reiterates the process describedabove until each equivalent keyword has been evaluated. Once allequivalent keywords have been evaluated, a weight for each of the bestgroup of keywords remaining is calculated (413). Calculation of weightsis based on a plurality of factors and is discussed in more detail,below. However, the weighting applied to each keyword generallydetermines how high each of the best keywords appears in a list returnedto the end-user. The higher the calculated weight, the higher theposition of the word on the returned list. An overall length of thereturned list is based on the number of keywords that will fit into aslittle as one TCP package. The overall package size is also discussed indetail, below.

If a determination is made the keyword being evaluated is not one of thebest keywords available (407), a determination is then made whetheradditional keywords are available (409). If additional keywords areavailable (409), the flowchart 400 reiterates the process as describedabove until each keyword has been evaluated and the best keywordsweighted. If a determination is made that additional keywords are notavailable (409), a weight for each of the best group of keywordsremaining is calculated (413).

With reference again to FIG. 3, the exemplary trie tree structure 300can be utilized to perform the selecting, evaluation, updating, andcalculating steps of the flowchart 400 defining the exemplary method. Asnoted above, there is one root node 301 for the exemplary trie treestructure 300. Each non-root node represents a supported character.Thus, there is a corresponding string associated with each non-rootnode, representing a prefix. Each node has n child nodes, where n is thecount of characters supported.

The information kept in a node includes, for example, a current bestkeyword for the prefix in the group, a weight of the current bestkeyword, and a merged value of a variety of weighting factors, describedbelow.

Ranking Factors

A variety of ranking factors can be chosen to apply weighting to thebest keywords selected. The factors can be selected based on aparticular type of industry, a particular consumer group, a particularproduct type, and a variety of other quantitative or qualitativeindicators.

For example, suggested keywords returned to an end-user can match theprefix closely. Thus, the suggested keyword can be considered to match aprefix if the keyword starts with the one or more prefixes or has asubstring within the keyword (i.e., an infix).

Alternatively, the prefix can be the substring of the keyword and thesubstring starts from the beginning of a single word in the keyword. Forexample, both keywords ipod nano and apple ipod match the prefix ipo asnoted above. But the keyword mika lollipop does not match the prefix.The keywords ipod and ipods both match the prefix ip. However, if thekeyword ipod has a higher weight than ipods based on a set of weightingfactors, then only ipod will be suggested as a keyword for the prefix.Alternatively, both the keywords ipod and ipods may be returned in thekeyword list, but ipod will be higher in the list than ipods. Therefore,the closeness of the prefix or infix to the keyword itself can be onetype of weighting factor.

Consider a specific exemplary embodiment in an electronic on-lineauction environment. In the on-line auction environment, millions ofprefixes are entered by end-users, around the world, as search terms ona daily basis. As a result of the huge number of queries, “query count”becomes a candidate for use as a weighting factor.

Also, the number of items available on which to bid or purchase becomesanother potential weighting factor. For example, envision a scenario inwhich 100,000 ipod nano players and 10,000 ipod shuffle players areavailable, both for either bidding or purchasing. The weighting factor,“item count,” associated with the ipod nano has a higher weight than thefactor associated with the ipod shuffle. Consequently, the ipod nanokeyword appears higher on the list than the ipod shuffle. Indeed, theipod shuffle may not even appear on the returned keyword list dependingon other weighting factors.

Similarly, weighting factors associated with other attributes of an itemcan be established. For example, weighting factors such as “bid count,”associated with the number of bids received on a particular item type,“purchase count,” associated with the number of purchases made on aparticular item type, and “watch count,” associated with the number ofitems placed on a “watch item list” are all exemplary candidates forweighting factors.

Additionally, factors such as “bid count,” “purchase count,” and “watchcount” are often only sensible in terms of an absolute number of items(i.e., “item count”) for a particular item. Therefore, each of thesefactors can be normalized in terms of total item count. Thus, “bid countdivided by item count,” “purchase count divided by item count,” and“watch count divided by item count” all become weighting factorcandidates.

A specific exemplary embodiment of weighting factors, useful in theelectronic on-line auction environment, is given in Table I, below. Anapplied weight determines how much the particular weighting factorshould affect a particular overall weighting value.

TABLE I Weighting Applied Factor Weight Query Count 0.5 Item Count 0.3Bid Count/ 0.2 Item Count Purchase Count/ 0.2 Item Count Watch Count/0.2 Item Count Prefix or Infix 0.1

The overall weighting value applied to a keyword can then simply be asummation of all weighting factors multiplied times the individualapplied weight of each factor. Hence, equation (1) determines theoverall weighting, effectively a type of ranking algorithm or method:

$\begin{matrix}{{T_{w} = {\sum\limits_{j = 1}^{i}{W_{j}a_{j}}}},{i = 1},\ldots \mspace{14mu},n} & (1)\end{matrix}$

where T_(w) is the total factor applied to each of the best keywordsselected (e.g., see “Best Keyword Available” (407) of FIG. 4), W_(j) isthe quantity of a particular weighting factor, a_(j) is the appliedweight associated with each weighting factor, and i is the total numberof weighting factors available.

In a specific exemplary scenario where equation (1) is applied, the topone million queries based on the query frequency are selected. For eachquery, six features are selected daily. Three of the features includequery count, supplying item count, and a prefix or infix property. Theother three features are bid count divided by item count, purchase countdivided by item count, and bin count divided by item count, whichreflect a transition rate (i.e., a click through rate) of that query.Each feature is given a weight and a score calculated for each query.Then, the one million queries are sorted according to score. Finally,equation (1) is applied to each keyword to build up the entirerecommendation keyword list. When an end-user types some characters, thetop seven queries which meet with a prefix or infix of those characterswill be returned to the end-user and appear in a search boxrecommendation list based on rank. A keyword with higher rank will showup ahead of that with a lower rank. Thus, the keywords suggested andreturned have a higher probability to be picked up and clicked through,which implies a higher probability of dealing rate and revenue to anetwork or Internet-based item supplier.

Based on the information presented herein, a skilled artisan can readilyenvision other types of weighting factors useful in an on-line auctionenvironment. Additionally, the skilled artisan can also apply thetechniques presented herein to a variety of other industries and on-lineenvironments. Further, a skilled artisan will recognize that othersearching techniques, known independently in the art, may be substitutedfor the exemplary trie tree structure 300 of FIG. 3.

HTTP Package Size and Returned Keyword Lists

To make full use of the carrying capability of each HTTP package in theprefix/query and returned keyword response, the package size is enlargedas much as possible while ensuring that the data transition only takesas little as one TCP package (recall the TCP package size is 1460 bytes,exclusive of overhead). Numerous worst-case scenario testing has beenperformed to determine a practical upper limit of the package size basedon what the network is able to support.

For the testing, network connections from San Jose, Calif. to Shanghai,China were employed. The testing revealed that a practical buffer sizeupper limit was four kilobytes of useful data that could be sent in asingle TCP package. Thus, the worst-case scenario found enlarging thepackage size to four kilobytes in a single TCP package was consistentlypossible. A compression algorithm, such as “gzip” (available on-linefrom http://www.gzip.org/, last viewed Oct. 20, 2008) or othercompression utilities known in the art can be used to compress the filebefore it is sent. A resulting text file less than four kilobytes isgenerally one kilobyte after compression.

Several benefits accrue from use of the ranking algorithm or methoddisclosed herein. By using ranking data, a keyword list returned to theend-user is more likely to be accurate (i.e., what the end-user islooking for in the proper order) since most keyword lists of currentsub-nodes have been already ranked based on the huge amount of datastored in the information storage and retrieval platform 120. An averageresponse time to a query or search is also decreased since most of thetime data are already in memory. Thus, the end-user's browser is able toshow the data immediately on only entering one or two characters.Additionally, there is no data transmission response time differencebetween responses to each entered character of the prior art and allprobable responses being sent concurrently as described herein sinceboth are transmitted via only a single TCP package. Since the requestfrequency based on multiple searches or queries is reduced, the workloadof the web server is also reduced commensurately.

While various embodiments of the present invention are described withreference to assorted implementations and exploitations, it will beunderstood that these embodiments are illustrative only and that a scopeof the present inventions are not limited to them. In general,techniques for the ranking algorithm or method may be implemented withfacilities consistent with any hardware system or hardware systemsdefined herein. Many variations, modifications, additions, andimprovements are possible.

Plural instances may be provided for resources, operations, orstructures described herein as a single instance. Finally, boundariesbetween various resources, operations, and data stores are somewhatarbitrary, and particular operations are illustrated in a context ofspecific illustrative configurations. Other allocations of functionalityare envisioned and may fall within a scope of various embodiments of thepresent invention. In general, structures and functionality presented asseparate resources in the exemplary configurations may be implemented asa combined structure or resource. Similarly, structures andfunctionality presented as a single resource may be implemented asseparate resources. These and other variations, modifications,additions, and improvements fall within a scope of the present inventionthat is represented by the appended claims.

Modules, Components, and Logic

Additionally, certain embodiments described herein may be implemented aslogic or a number of modules, components, or mechanisms. A module,logic, component, or mechanism (collectively referred to as a “module”)may be a tangible unit capable of performing certain operations and isconfigured or arranged in a certain manner. In certain exemplaryembodiments, one or more computer systems (e.g., a standalone, client,or server computer system) or one or more components of a computersystem (e.g., a processor or a group of processors) may be configured bysoftware (e.g., an application or application portion) or firmware (notethat software and firmware can generally be used interchangeably hereinas is known by a skilled artisan) as a module that operates to performcertain operations described herein.

In various embodiments, a module may be implemented mechanically orelectronically. For example, a module may comprise dedicated circuitryor logic that is permanently configured (e.g., within a special-purposeprocessor) to perform certain operations. A module may also compriseprogrammable logic or circuitry (e.g., as encompassed within ageneral-purpose processor or other programmable processor) that istemporarily configured by software or firmware to perform certainoperations. It will be appreciated that a decision to implement a modulemechanically, in the dedicated and permanently configured circuitry, orin temporarily configured circuitry (e.g., configured by software) maybe driven by cost and time considerations.

Accordingly, the term module should be understood to encompass atangible entity, be that an entity that is physically constructed,permanently configured (e.g., hardwired), or temporarily configured(e.g., programmed) to operate in a certain manner and/or to performcertain operations described herein. Considering embodiments in whichmodules or components are temporarily configured (e.g., programmed),each of the modules or components need not be configured or instantiatedat any one instance in time. For example, where the modules orcomponents comprise a general-purpose processor configured usingsoftware, the general-purpose processor may be configured as respectivedifferent modules at different times. Software may accordingly configurethe processor to constitute a particular module at one instance of timeand to constitute a different module at a different instance of time.

Modules can provide information to, and receive information from, othermodules. Accordingly, the described modules may be regarded as beingcommunicatively coupled. Where multiples of such modules existcontemporaneously, communications may be achieved through signaltransmission (e.g., over appropriate circuits and buses) that connectthe modules. In embodiments in which multiple modules are configured orinstantiated at different times, communications between such modules maybe achieved, for example, through the storage and retrieval ofinformation in memory structures to which the multiple modules haveaccess. For example, one module may perform an operation, and store theoutput of that operation in a memory device to which it iscommunicatively coupled. A further module may then, at a later time,access the memory device to retrieve and process the stored output.Modules may also initiate communications with input or output devicesand can operate on a resource (e.g., a collection of information).

Exemplary Machine Architecture and Machine-Readable Medium

With reference to FIG. 5, an exemplary embodiment extends to a machinein the exemplary form of a computer system 500 within whichinstructions, for causing the machine to perform any one or more of themethodologies discussed herein, may be executed. In alternativeexemplary embodiments, the machine operates as a standalone device ormay be connected (e.g., networked) to other machines. In a networkeddeployment, the machine may operate in the capacity of a server or aclient machine in server-client network environment, or as a peermachine in a peer-to-peer (or distributed) network environment. Themachine may be a personal computer (PC), a tablet PC, a set-top box(STB), a Personal Digital Assistant (PDA), a cellular telephone, a webappliance, a network router, a switch or bridge, or any machine capableof executing instructions (sequential or otherwise) that specify actionsto be taken by that machine. Further, while only a single machine isillustrated, the term “machine” shall also be taken to include anycollection of machines that individually or jointly execute a set (ormultiple sets) of instructions to perform any one or more of themethodologies discussed herein.

The exemplary computer system 500 includes a processor 502 (e.g., acentral processing unit (CPU), a graphics processing unit (GPU) orboth), a main memory 504 and a static memory 506, which communicate witheach other via a bus 508. The computer system 500 may further include avideo display unit 510 (e.g., a liquid crystal display (LCD) or acathode ray tube (CRT)). The computer system 500 also includes analphanumeric input device 512 (e.g., a keyboard), a user interface (UI)navigation device 514 (e.g., a mouse), a disk drive unit 516, a signalgeneration device 518 (e.g., a speaker), and a network interface device520.

Machine-Readable Medium

The disk drive unit 516 includes a machine-readable medium 522 on whichis stored one or more sets of instructions and data structures (e.g.,software 524) embodying or used by any one or more of the methodologiesor functions described herein. The software 524 may also reside,completely or at least partially, within the main memory 504 or withinthe processor 502 during execution thereof by the computer system 500;the main memory 504 and the processor 502 also constitutingmachine-readable media.

While the machine-readable medium 522 is shown in an exemplaryembodiment to be a single medium, the term “machine-readable medium” mayinclude a single medium or multiple media (e.g., a centralized ordistributed database, or associated caches and servers) that store theone or more instructions. The term “machine-readable medium” shall alsobe taken to include any tangible medium that is capable of storing,encoding, or carrying instructions for execution by the machine and thatcause the machine to perform any one or more of the methodologies of thepresent invention, or that is capable of storing, encoding, or carryingdata structures used by or associated with such instructions. The term“machine-readable medium” shall accordingly be taken to include, but notbe limited to, solid-state memories, and optical and magnetic media.Specific examples of machine-readable media include non-volatile memory,including by way of exemplary semiconductor memory devices (e.g., EPROM,EEPROM, and flash memory devices); magnetic disks such as internal harddisks and removable disks; magneto-optical disks; and CD-ROM and DVD-ROMdisks.

Transmission Medium

The software 524 may further be transmitted or received over acommunications network 522 using a transmission medium via the networkinterface device 520 utilizing any one of a number of well-knowntransfer protocols (e.g., HTTP). Examples of communication networksinclude a local area network (LAN), a wide area network (WAN), theInternet, mobile telephone networks, Plain Old Telephone (POTS)networks, and wireless data networks (e.g., WiFi and WiMax networks).The term “transmission medium” shall be taken to include any intangiblemedium that is capable of storing, encoding, or carrying instructionsfor execution by the machine, and includes digital or analogcommunications signals or other intangible medium to facilitatecommunication of such software.

Although an embodiment has been described with reference to specificexemplary embodiments, it will be evident that various modifications andchanges may be made to these embodiments without departing from thebroader spirit and scope of the invention. Accordingly, thespecification and drawings are to be regarded in an illustrative ratherthan a restrictive sense. The accompanying drawings that form a parthereof show by way of illustration, and not of limitation, specificembodiments in which the subject matter may be practiced. Theembodiments illustrated are described in sufficient detail to enablethose skilled in the art to practice the teachings disclosed herein.Other embodiments may be used and derived therefrom, such thatstructural and logical substitutions and changes may be made withoutdeparting from the scope of this disclosure. The Detailed Description,therefore, is not to be taken in a limiting sense, and the scope ofvarious embodiments is defined only by the appended claims, along withthe full range of equivalents to which such claims are entitled.

Such embodiments of the inventive subject matter may be referred toherein, individually or collectively, by the term “invention” merely forconvenience and without intending to voluntarily limit the scope of thisapplication to any single invention or inventive concept if more thanone is, in fact, disclosed. Thus, although specific embodiments havebeen illustrated and described herein, it should be appreciated that anyarrangement calculated to achieve the same purpose may be substitutedfor the specific embodiments shown. This disclosure is intended to coverany and all adaptations or variations of various embodiments.Combinations of the above embodiments, and other embodiments notspecifically described herein, will be apparent to those of skill in theart upon reviewing the above description.

For example, particular embodiments describe various arrangements,algorithms, programming tools, and topologies of systems. A skilledartisan will recognize, however, that additional embodiments may befocused on electronic business applications and accompanying systemarchitectures in general and not specifically to electronic searching ofconsumer sites.

These and various other embodiments are all within a scope of thepresent invention. The specification and drawings are, accordingly, tobe regarded in an illustrative rather than a restrictive sense.

1. A method, comprising: selecting a plurality of equivalent keywordsresponsive to a search query; determining a rank of each of theplurality of equivalent keywords; selecting a plurality of most highlyranked keywords from the plurality of equivalent keywords; and preparinga response including the plurality of most highly ranked keywords. 2.The method of claim 1, further comprising transmitting the response. 3.The method of claim 2, further comprising fitting the response within asingle communications packet prior to transmitting the response
 4. Themethod of claim 1, wherein the selecting the plurality of equivalentkeywords is based on one or more characters within the search query. 5.The method of claim 1, wherein the one or more characters are receivedwithin a single packet.
 6. The method of claim 1, further comprisingbasing the rank on a turnover rate of a listing to which the searchquery is directed.
 7. The method of claim 1, wherein the determining ofthe rank includes calculating a weight of each of the plurality ofequivalent keywords.
 8. The method of claim 6, further comprising basingthe weighting on at least one item in a group of parameters, theparameters consisting of most frequent queries, a number of itemsavailable matching the search query, a number of bids on items matchingthe search query, a number of purchases of items matching the searchquery, and a number of items matching the search query being placed on awatch list.
 9. The method of claim 1, further comprising selecting theplurality of equivalent keywords from a weighted database.
 10. Themethod of claim 1, wherein selecting the plurality of equivalentkeywords responsive to the search query includes finding prefixes orinfixes to match available keywords from one or more consecutivecharacters from the search query.
 11. A method, comprising: receivingone or more characters from an end-user as a query; selecting aplurality of equivalent keywords responsive to the query, the pluralityof equivalent keywords being selected based on a consideration ofmatching at least a portion of the one or more characters both as aprefix and an infix; evaluating each of the plurality of equivalentkeywords based on a probability of matching the query of the end-user;preparing a subset of the plurality of equivalent keywords based on thematching probability, the subset forming a response; and transmittingthe response to the end-user.
 12. The method of claim 11, furthercomprising selecting the plurality of equivalent keywords from aweighted database.
 13. The method of claim 12, further comprisingupdating the database based on a determination of a positive matching ofat least one of the subset of the plurality of keywords.
 14. The methodof claim 13, wherein the updating includes increasing a weighting factorfor the at least one of the subset of the plurality of keywords.
 15. Themethod of claim 11, wherein preparing the subset to form the response isfurther based on selecting a plurality of most highly ranked keywordsfrom the plurality of equivalent keywords based on the matchingprobability.
 16. The method of claim 15, further comprising basing arank of the plurality of most highly ranked keywords on a turnover rateof a listing to which the search query is directed.
 17. The method ofclaim 16, wherein the determining of the rank includes calculating aweight of each of the plurality of most highly ranked keywords.
 18. Atangible machine-readable storage medium having no transitory signalcomponents and storing instructions that, when executed by one or moreprocessors, causes the one or more processors to perform operations,comprising: selecting a plurality of equivalent keywords responsive to asearch query; determining a rank of each of the plurality of equivalentkeywords; selecting a plurality of most highly ranked keywords from theplurality of equivalent keywords; and preparing a response including theplurality of most highly ranked keywords.
 19. The tangiblemachine-readable storage medium of claim 18, wherein the determining ofthe rank includes calculating a weight of each of the plurality ofequivalent keywords.
 20. The tangible machine-readable storage medium ofclaim 19, further comprising basing the weighting on at least one itemin a group of parameters, the parameters consisting of most frequentqueries, a number of items available matching the search query, a numberof bids on items matching the search query, a number of purchases ofitems matching the search query, and a number of items matching thesearch query being placed on a watch list.